<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>收货地址管理</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=0.5, minimum-scale=0.5, maximum-scale=0.5, user-scalable=no,viewport-fit=cover">
		<meta name="format-detection" content="telephone=no">
		<meta name="renderer" content="webkit">
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<link rel="stylesheet" href="../../css/common.css" />
		<link rel="stylesheet" href="../../css/address/index.css" />
		<script type="application/javascript" src="../../js/common/static_common.js"></script>
	</head>
	<body>
		<span id="app" v-cloak>
			<header title="收货地址"></header>
			<div class="_div data-v-6eb4879a container">
				<div class="_i-swipeout data-v-6eb4879a" data-comkey="0" data-eventid="1-0"  v-if="!isEmpty">
					<div class="i-swipeout-wrap i-swipeout-demo-item"  v-for="item in address" >
						<div class="i-swipeout-item" >
							<div class="i-swipeout-content">
								<div class="_view data-v-6eb4879a">
									<span  @touchstart='touchStart' 
					@touchend='touchEnd($event,item)'>
									<span class="_span data-v-6eb4879a rec-name" >{{item.name}}</span>
									<div class="_div data-v-6eb4879a tel">{{item.tel}}</div>
									<div class="_div data-v-6eb4879a tip" v-if="item.default">默认</div>
									<div class="_div data-v-6eb4879a addr-msg">{{item.area}} {{item.address}}</div>
									</span>
									<div class="_div data-v-6eb4879a rewrite" @click="edit(item)">
										<img class="_img data-v-6eb4879a img" src="../../images/mine/xiayibu@2x.png">
									</div>
								</div>
							</div>
							<div class="i-swipeout-button-right-group" @click="deleteAddress(item)">
								<div class="i-swipeout-button-right-item" style="background: #FF3B30;color: #fff;width: 100px;font-size: 28px;">删除</div>
							</div>
						</div>
					</div>
					
				</div>
				<a class="_a data-v-6eb4879a add-address" href="javascript:void(0);" @click="add()"> 新增收货地址 </a>
				<div class="_div data-v-6eb4879a empty" v-if="isEmpty">
					<img class="_img data-v-6eb4879a nothing" src="../../images/home/dizhi@2x.png"/>
					<div class="_div data-v-6eb4879a text">新增个地址吧~</div>
				</div>
			</div>
			
		</span>
	</body>
	<script type="application/javascript" src="../../js/address/index.js"></script>
</html>
